flowbox: Initialize allocation
authorTimm Bäder <mail@baedert.org>
Thu, 4 May 2017 16:32:45 +0000 (18:32 +0200)
committerMatthias Clasen <mclasen@redhat.com>
Thu, 20 Jul 2017 01:27:11 +0000 (21:27 -0400)
gtk/gtkflowbox.c

index f511fa0a63c0a2282709508b18ea13c4e502a386..820caaeb7e9098c9e82666f3fc505c79bf4ba5f1 100644 (file)
@@ -2443,6 +2443,8 @@ gtk_flow_box_snapshot (GtkWidget   *widget,
 
   gtk_widget_get_allocation (widget, &allocation);
 
+  gtk_widget_get_allocation (widget, &allocation);
+
   x = allocation.x;
   y = allocation.y;
   width = allocation.width;